var formValidator = function() {
	var rules = {
		name : {
			required : true,
			maxlength : 64
		}
	};

	var messages = {
		name : {
			required : "医院名不能为空",
			maxlength : "医院名不能超过64个字"
		}
	};

	return {
		init : function() {
			validator(rules, messages).init();
		}
	};
}();
